The first thing that you want to say is:
    import Gcrypt

That'll give you access to some classes and fuctions:

        c = Gcrypt.Cipher(algo, mode, key, iv = None)
Create a Cipher object.

algo must be a string containing one of the following:
    3DES, BLOWFISH-128, AES-128, AES-192, AES-256,
    TWOFISH-128, TWOFISH-256
        (I have no idea what happened to TWOFISH-192,
         but it's not documented in the libgcrypt docs)

mode must be a string containing one of the following:
    ECB, CBC, CBC-CTS
        (libgcrypt supports some other modes, like CTR,
         and some stream cipher modes. I haven't implemented
         that stuff yet.)

key must be a string containing the actual binary key data.
    Good places to get keys from are the included random
    number generator and hash functions.

iv must be a string containing the binary initialization vector.
    An iv is not used in ECB mode. If you don't know what one is,
    I'd suggest looking into it - this is an important part of the
    security of the modes that use it.

        ciphertext = c.Encrypt(plaintext)
   yea.

        plaintext = c.Decrypt(ciphertext)
    uh huh.

    note that any mode that uses an iv is going to need a clean
    handle to start with (i.e. you can't encrypt with a handle
    and then decrypt that message with the same handle)
    ... and by "handle" I mean "Cipher Object"
